<template>
	<view class="body">
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				ind0:0,
				classArr:["风景","跑车","建筑","美女"]
			};
		},
		methods:{
			classChange (e) {
				this.index = e.target.value;
			}
		}
	}
</script>

<style lang="less">
.search-input-top {
	padding: 30rpx;
	display: flex;
	justify-content: space-between;
	.input-box {
		width: 500rpx;
		position: relative;
		input {
			width: 100%;
			padding: 0 10px 0 50px;
			height: 40px;
			border: none;
			background: #e8e8e8;
			border-radius: 20px;
			font-size: 14px;
		}
		icon {
			position: absolute;
			left: 18px;
			top: 10px;
		}
	}
	.class-picker-box {
		width: 160rpx;
		height: 40px;
		display: flex;
		font-size: 14px;
		justify-content: flex-end;
		align-items: center;
		font-size: 14px;
		.down-icon {
			width: 20px;
			height: 20px;
			image {
				width: 100%;
				height: 100%;
			}
		}
	}
}

.search-result-box {
	padding: 0 30rpx;
	display: flex;
	flex-wrap: wrap;
	.imgbox {
		width: 150rpx;
		margin: 0 30rpx 30rpx 0;
		.text {
			font-size: 28rpx;
			text-align: center;
		}
	}
	image {
		width: 100%;
		height: 150rpx;
		margin-bottom: 16rpx;
		
	}
	.imgbox:nth-child(4n) {
		margin-right: 0;
	}
}

.result-scroll-box {
	height: calc(~"100vh - 40px - 60rpx");
}
</style>
